import { sys } from 'cc';
import { NetWorkManager } from '../NetWorkManager';
const getNet = () => NetWorkManager.getInstance()
const record = () => {
    const net = getNet()
    sys.localStorage.setItem('roomId', net.room.id)
    sys.localStorage.setItem('sessionId', net.room.sessionId)
    sys.localStorage.setItem('storeTime', Date())
}
export {getNet,record}
